package com.hthy.futures.ui.fragment;


import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.hthy.futures.R;
import com.hthy.futures.base.BaseFragment;
import com.hthy.futures.ui.activity.SearchActivity;
import com.hthy.futures.ui.activity.SearchCotainerActivity;
import com.hthy.futures.ui.activity.SlideCotainerActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 查询
 * Author:  Mr.bingley
 * Version:
 * Date:  2017/3/6
 */

public class SeachFragment extends BaseFragment {
    @Override
    protected int getLayoutId() {
        return R.layout.frg_seach;
    }



    @Override
    protected void initWidget(View root) {
        super.initWidget(root);
    }

    @OnClick({R.id.ll_search_per, R.id.ll_money_search, R.id.ll_search_out, R.id.ll_notice})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.ll_search_per:
                SearchCotainerActivity.gotoActivity(getActivity(), 0);
                break;
            case R.id.ll_money_search:
                SearchCotainerActivity.gotoActivity(getActivity(), 1);
                break;
            case R.id.ll_search_out:
                SearchCotainerActivity.gotoActivity(getActivity(), 2);
                break;
            case R.id.ll_notice:
                SearchCotainerActivity.gotoActivity(getActivity(), 3);
                break;
        }
    }
}
